package org.zxn.study.strategy.impl;

import org.springframework.stereotype.Component;
import org.zxn.study.req.LoginReq;
import org.zxn.study.rsp.LoginResp;
import org.zxn.study.strategy.UserGranter;

/**
 * @ClassName AccountGranter
 * @Description: 账号登录实现类
 * @Author zxn
 * @Date 2025/7/10 11:36
 **/
@Component
public class AccountGranter implements UserGranter {
    @Override
    public LoginResp login(LoginReq loginReq) {
        System.out.println("登录方式为账号登录" + loginReq);
        // 执行业务操作

        return new LoginResp();
    }
}
